package org.jeecg.modules.xl.aftersale.vo;

import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import   org.jeecg.modules.xl.aftersale.entity.XlCustomerAftersale;
import   org.jeecg.modules.xl.aftersale.entity.XlCustomerAftersaleDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 售后单
 * @Author: jeecg-boot
 * @Date:   2024-11-03
 * @Version: V1.0
 */
@Data
@ApiModel(value="xl_customer_aftersalePage对象", description="售后单")
public class XlCustomerAftersalePage {

	/**id*/
	@ApiModelProperty(value = "id")
	private Integer id;
	/**售后工单号*/
	@Excel(name = "售后工单号", width = 15)
	@ApiModelProperty(value = "售后工单号")
    private String workorder;
	/**售后单状态（0:待审批，1:审批通过,2:审批不通过）*/
	@Excel(name = "售后单状态（0:待审批，1:审批通过,2:审批不通过）", width = 15, dicCode = "audit_state")
    @Dict(dicCode = "audit_state")
	@ApiModelProperty(value = "售后单状态（0:待审批，1:审批通过,2:审批不通过）")
    private String woStatus;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private String woNote;
	/**售后类型*/
	@Excel(name = "售后类型", width = 15, dicCode = "slt_aftersale_type")
    @Dict(dicCode = "slt_aftersale_type")
	@ApiModelProperty(value = "售后类型")
    private String aftersaleType;
	/**售后原因*/
	@Excel(name = "售后原因", width = 15, dicCode = "slt_aftersale_renson")
    @Dict(dicCode = "slt_aftersale_renson")
	@ApiModelProperty(value = "售后原因")
    private String renson;
	/**订单单号*/
	@Excel(name = "订单单号", width = 15)
	@ApiModelProperty(value = "订单单号")
    private String orderCode;
	/**门店编号*/
	@Excel(name = "门店编号", width = 15)
	@ApiModelProperty(value = "门店编号")
    private String storeCode;

	/**门店名称*/
	@Excel(name = "门店名称", width = 15)
	@ApiModelProperty(value = "门店名称")
	private String storeName;


	/**售后商品总数量*/
	@Excel(name = "售后商品总数量", width = 15)
	@ApiModelProperty(value = "售后商品总数量")
    private Double totalNum;
	/**售后商品种数*/
	@Excel(name = "售后商品种数", width = 15)
	@ApiModelProperty(value = "售后商品种数")
    private Integer detailNum;
	/**售后总金额*/
	@Excel(name = "售后总金额", width = 15)
	@ApiModelProperty(value = "售后总金额")
    private Double totalAmount;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**售后凭证*/
	@Excel(name = "售后凭证", width = 15)
	@ApiModelProperty(value = "售后凭证")
    private String woImage;

	@ExcelCollection(name="售后单明细")
	@ApiModelProperty(value = "售后单明细")
	private List<XlCustomerAftersaleDetail> xlCustomerAftersaleDetailList;

}
